//package de.traveltainment.concept.envers.audit.listener;
//
//import de.traveltainment.concept.envers.audit.lifecycle.Journal;
//import de.traveltainment.concept.envers.repository.VitoRepository;
//import org.hibernate.envers.EntityTrackingRevisionListener;
//import org.hibernate.envers.RevisionType;
//
//import java.io.Serializable;
//import java.util.logging.Level;
//import java.util.logging.Logger;
//
///**
// * Created by borlis on 16.06.2014.
// */
//public class DPCTRevisionListener implements EntityTrackingRevisionListener {
//
//    private static final Logger LOGGER = Logger.getLogger(DPCTRevisionHandler.class.getName());
//
//    @Override
//    public void newRevision(Object o) {
//        DPCTRevisionHandler handler = VitoRepository.threadLocal.get();
////        Journal journal = (Journal) o;
////        try {
////            handler.newRevision(journal);
////        } catch (Exception e) {
////            e.printStackTrace();
////        }
//        LOGGER.log(Level.INFO, "");
//    }
//
//    @Override
//    public void entityChanged(Class entityClass, String entityName, Serializable entityId,
//                              RevisionType revisionType, Object revisionEntity) {
//        LOGGER.log(Level.INFO, "");
//    }
//}
